{% extends "blogs/base.html" %}

{% block content %}
  <h2>Add a new blog:</h2>

  <form action="{% url 'blogs:new_blog' %}" method="post">
    {% csrf_token %}
    {{ form.as_p }}
    <button name="submit">Add blog</button>
  </form>
  
{% endblock %}